from flask import request,redirect,url_for,render_template

def defineEmailViews(app,db):
    @app.route('/email/email_inbox')
    def email_inbox():
        return render_template('email/email_inbox.html')

    @app.route('/email/email_read')
    def email_read():
        return render_template('email/email_read.html')

    @app.route('/email/email_compose')
    def email_compose():
        return render_template('email/email_compose.html')

    @app.route('/email/email_templates')
    def email_templates():
        return render_template('email/email_templates.html')